const mix = require('laravel-mix');

mix.setPublicPath('./Resources/assets');

mix.js('Resources/js/app.js', 'demo.js')
    .less('Resources/less/totem.less', 'demo.css');

if (mix.inProduction()) {
    mix.version();
}
